
                    <h2><a name="t0"></a>一、<a href="https://so.csdn.net/so/search?q=HarmonyOS&amp;spm=1001.2101.3001.7020" target="_blank" class="hl hl-1" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;dest&quot;:&quot;https://so.csdn.net/so/search?q=HarmonyOS&amp;spm=1001.2101.3001.7020&quot;,&quot;extra&quot;:&quot;{\&quot;searchword\&quot;:\&quot;HarmonyOS\&quot;}&quot;}" data-tit="HarmonyOS" data-pretit="harmonyos">HarmonyOS</a>学习官网</h2> 
<p><a class="link-info" href="https://developer.huawei.com/consumer/cn/training/dev-certification/a617e0d3bc144624864a04edb951f6c4" rel="nofollow" title="开发者能力认证" target="_blank">开发者能力认证</a></p> 
<blockquote> 
 <p><span class="words-blog hl-git-1" data-tit="HarmonyOS应用" data-pretit="harmonyos应用">HarmonyOS应用</span>开发者基础认证6月之前的学习资源官网已经关闭过期，大家不要慌，官方更新了最新资源，但是，对于之前没有学习完的学员不友好，存在知识断片的现象，建议官网资源稳定点，不稳定的就不要上线，不要重要的资源更新频率过高，别显的那么浮躁</p> 
</blockquote> 
<p><img alt="" height="347" src="https://i-blog.csdnimg.cn/blog_migrate/6bab773e44ed8c8ddd2656b3c012e1ee.png" width="538"></p> 
<h2><a name="t1"></a>&nbsp;二、DevEco Studio工具</h2> 
<h3><a name="t2"></a>2.1 安装配置DevEco Studio</h3> 
<blockquote> 
 <p>- <a class="link-info" href="https://developer.huawei.com/consumer/cn/deveco-studio#download" rel="nofollow" title="下载官网" target="_blank">下载官网</a></p> 
 <p>- 安装 -&gt; DevEco Studio -&gt; Next -&gt; Agree -&gt; Do... -&gt; OK</p> 
 <p>-&gt; Basic Setup</p> 
 <p>- (Install)</p> 
 <p>- D:..\<a href="https://so.csdn.net/so/search?q=HuaWei&amp;spm=1001.2101.3001.7020" target="_blank" class="hl hl-1" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;dest&quot;:&quot;https://so.csdn.net/so/search?q=HuaWei&amp;spm=1001.2101.3001.7020&quot;,&quot;extra&quot;:&quot;{\&quot;searchword\&quot;:\&quot;HuaWei\&quot;}&quot;}" data-tit="HuaWei" data-pretit="huawei">HuaWei</a>\configuration (建议系统自动)</p> 
 <p>- D:..\HuaWei\configuration\ohpm</p> 
 <p>- Next-</p> 
 <p>-&gt; SDK Setup</p> 
 <p>- D:\...\HuaWei\environments\SDK\hmSDK</p> 
 <p>- Next -&gt; Accept -&gt; Next -&gt; Finish</p> 
</blockquote> 
<h3><a name="t3"></a>2.2 设置</h3> 
<blockquote> 
 <p>-（Conrigure） -&gt; Settings -&gt; Appearance -&gt; Theme(主题)</p> 
 <p>- Creat Project -&gt; Empty Ability -&gt; Next -&gt; HelloWorld</p> 
 <p>- 界面 -&gt; Project</p> 
 <p>- <a href="https://so.csdn.net/so/search?q=ets&amp;spm=1001.2101.3001.7020" target="_blank" class="hl hl-1" data-report-view="{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;dest&quot;:&quot;https://so.csdn.net/so/search?q=ets&amp;spm=1001.2101.3001.7020&quot;,&quot;extra&quot;:&quot;{\&quot;searchword\&quot;:\&quot;ets\&quot;}&quot;}" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;dest&quot;:&quot;https://so.csdn.net/so/search?q=ets&amp;spm=1001.2101.3001.7020&quot;,&quot;extra&quot;:&quot;{\&quot;searchword\&quot;:\&quot;ets\&quot;}&quot;}" data-tit="ets" data-pretit="ets">ets</a>：编写文件 -&gt; pages(index初始页面)</p> 
 <p>-&gt; Ohos(按照类型分类) -&gt;</p> 
 <p>- AppScope:公共信息资源</p> 
 <p>- entry:默认初始文件 -&gt; ets：编写文件 -&gt; configuration：配置文件 -&gt; resources：公共资源</p> 
 <p>- configuration：工程应用级别配置文件</p> 
 <p>- 右侧Previewer预览效果 || Tool -&gt; Device Manager</p> 
 <p>-&gt; Local模拟器位置：D:/.../HuaWei/deployed -&gt; api9</p> 
</blockquote> 
<h3><a name="t4"></a>2.3 运行工程</h3> 
<blockquote> 
 <p>- Run 'entry'</p> 
</blockquote> 
<h3><a name="t5"></a>2.4&nbsp;关于调试工具log</h3> 
<p><img alt="" height="599" src="https://i-blog.csdnimg.cn/blog_migrate/97dc4e240a27a97152dd9dfc6cd87eb1.png" width="613"></p> 
<h2><a name="t6"></a>三、项目&nbsp;</h2> 
<p><img alt="" height="418" src="https://i-blog.csdnimg.cn/blog_migrate/6c6d3ac35c9889017980454c09ac03b9.png" width="302"></p> 
<h3><a name="t7"></a>&nbsp;3.1 项目说明</h3> 
<blockquote> 
 <ul><li>&nbsp;关于项目运行不起来，各种配置都无法运行，可能项目本身就不对，需要怀疑项目的正确性，正常项目用工具运行，会自动生成AB依赖，如果没有需要从项目源头处理</li><li>看工具版本限制，可能版本太低<img alt="" height="187" src="https://i-blog.csdnimg.cn/blog_migrate/853b07188a059e0d3d86c9a6a6b0693b.png" width="670"></li><li>日志定位相比于console.log，推荐使用hilog(*number,*string,*string),但是一般console.log就满足了</li></ul> 
</blockquote> 
<p></p> 
<p></p>
                